getByClassName

Returns the first Element found in the current search context by the given className.

Throws

if no element found.